<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>XenC: XenIO Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XenC
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Open-source tool for data selection in NLP</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_xen_i_o-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">XenIO Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class handling all input/output operations of XenC.  
 <a href="class_xen_i_o.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="xenio_8h_source.html">xenio.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab9a2f3c55823d6f5bf73e291fb51030d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#ab9a2f3c55823d6f5bf73e291fb51030d">cleanCorpusMono</a> (boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorp, boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt; ptrScore)</td></tr>
<tr class="memdesc:ab9a2f3c55823d6f5bf73e291fb51030d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Monolingual corpus cleaning (ensures no empty lines)  <a href="#ab9a2f3c55823d6f5bf73e291fb51030d">More...</a><br /></td></tr>
<tr class="separator:ab9a2f3c55823d6f5bf73e291fb51030d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19e9b18d89fa44de07082e50899e9c42"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#a19e9b18d89fa44de07082e50899e9c42">cleanCorpusBi</a> (boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorpSource, boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorpTarget, boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt; ptrScore)</td></tr>
<tr class="memdesc:a19e9b18d89fa44de07082e50899e9c42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bilingual corpus cleaning (ensures no empty lines)  <a href="#a19e9b18d89fa44de07082e50899e9c42">More...</a><br /></td></tr>
<tr class="separator:a19e9b18d89fa44de07082e50899e9c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4fbd0582c974bb4c11c225ef467f26a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#ac4fbd0582c974bb4c11c225ef467f26a">writeMonoOutput</a> (boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorp, boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt; ptrScore)</td></tr>
<tr class="memdesc:ac4fbd0582c974bb4c11c225ef467f26a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes monolingual scored/sorted result files.  <a href="#ac4fbd0582c974bb4c11c225ef467f26a">More...</a><br /></td></tr>
<tr class="separator:ac4fbd0582c974bb4c11c225ef467f26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3264b7bde95ba72494ab9db3804ad11"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#ad3264b7bde95ba72494ab9db3804ad11">writeBiOutput</a> (boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorpSource, boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorpTarget, boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt; ptrScore)</td></tr>
<tr class="memdesc:ad3264b7bde95ba72494ab9db3804ad11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes bilingual scored/sorted result files.  <a href="#ad3264b7bde95ba72494ab9db3804ad11">More...</a><br /></td></tr>
<tr class="separator:ad3264b7bde95ba72494ab9db3804ad11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c32040f72b5d39ead7b08874beb65a3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#a6c32040f72b5d39ead7b08874beb65a3">writeNewPT</a> (boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt; ptrPT, boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt; ptrScore)</td></tr>
<tr class="memdesc:a6c32040f72b5d39ead7b08874beb65a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a new rescored phrase-table.  <a href="#a6c32040f72b5d39ead7b08874beb65a3">More...</a><br /></td></tr>
<tr class="separator:a6c32040f72b5d39ead7b08874beb65a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addbb2a484ad95b288569048af23bd70e"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#addbb2a484ad95b288569048af23bd70e">writeSourcePhrases</a> (boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt; ptrPT)</td></tr>
<tr class="memdesc:addbb2a484ad95b288569048af23bd70e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a phrase-table's source phrases.  <a href="#addbb2a484ad95b288569048af23bd70e">More...</a><br /></td></tr>
<tr class="separator:addbb2a484ad95b288569048af23bd70e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c440586a535369a714351601f253477"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#a8c440586a535369a714351601f253477">writeTargetPhrases</a> (boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt; ptrPT)</td></tr>
<tr class="memdesc:a8c440586a535369a714351601f253477"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a phrase-table's target phrases.  <a href="#a8c440586a535369a714351601f253477">More...</a><br /></td></tr>
<tr class="separator:a8c440586a535369a714351601f253477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a507884a2eeb21b0fd3a7816ac2187beb"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#a507884a2eeb21b0fd3a7816ac2187beb">writeEval</a> (boost::shared_ptr&lt; <a class="el" href="eval_8h.html#a2c850c27efca97b26b551ccdc42fd7b2">EvalMap</a> &gt; ptrEvalMap, std::string distName)</td></tr>
<tr class="memdesc:a507884a2eeb21b0fd3a7816ac2187beb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes an evaluation/best point distribution file.  <a href="#a507884a2eeb21b0fd3a7816ac2187beb">More...</a><br /></td></tr>
<tr class="separator:a507884a2eeb21b0fd3a7816ac2187beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7f7d85d888d510c21ddf217840e20ba"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#ac7f7d85d888d510c21ddf217840e20ba">writeVocab</a> (std::map&lt; std::string, int &gt; voc, std::string fileName)</td></tr>
<tr class="memdesc:ac7f7d85d888d510c21ddf217840e20ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a vocab to file.  <a href="#ac7f7d85d888d510c21ddf217840e20ba">More...</a><br /></td></tr>
<tr class="separator:ac7f7d85d888d510c21ddf217840e20ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb32c268deb43ffb242f30726ff4105b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#aeb32c268deb43ffb242f30726ff4105b">writeXRpart</a> (boost::shared_ptr&lt; <a class="el" href="class_xen_result.html">XenResult</a> &gt; ptrXR, int pc, std::string fileName=&quot;&quot;)</td></tr>
<tr class="memdesc:aeb32c268deb43ffb242f30726ff4105b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a part of the text of a <a class="el" href="class_xen_result.html" title="Class handling a XenC sorted result file for evaluation/best point. ">XenResult</a> given a percentage.  <a href="#aeb32c268deb43ffb242f30726ff4105b">More...</a><br /></td></tr>
<tr class="separator:aeb32c268deb43ffb242f30726ff4105b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc50164bd165fde754196a1490cfd238"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#afc50164bd165fde754196a1490cfd238">dumpSimilarity</a> (boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt; ptrCorp, boost::shared_ptr&lt; <a class="el" href="class_similarity.html">Similarity</a> &gt; ptrSim)</td></tr>
<tr class="memdesc:afc50164bd165fde754196a1490cfd238"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dumps the <a class="el" href="class_similarity.html" title="Class taking care of all the similarity measure computations. ">Similarity</a> measures of a <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a>.  <a href="#afc50164bd165fde754196a1490cfd238">More...</a><br /></td></tr>
<tr class="separator:afc50164bd165fde754196a1490cfd238"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad087c0895d023a9ff0c0a1f794854b5d"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#ad087c0895d023a9ff0c0a1f794854b5d">read</a> (boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt; ptrFile)</td></tr>
<tr class="memdesc:ad087c0895d023a9ff0c0a1f794854b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a file (plain text/gzipped)  <a href="#ad087c0895d023a9ff0c0a1f794854b5d">More...</a><br /></td></tr>
<tr class="separator:ad087c0895d023a9ff0c0a1f794854b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af153c980efc7a1bf6994300ca2a5edc7"><td class="memItemLeft" align="right" valign="top">static boost::shared_ptr&lt; <a class="el" href="eval_8h.html#a2c850c27efca97b26b551ccdc42fd7b2">EvalMap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#af153c980efc7a1bf6994300ca2a5edc7">readDist</a> (std::string distFile)</td></tr>
<tr class="memdesc:af153c980efc7a1bf6994300ca2a5edc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads a evaluation/best point distribution file.  <a href="#af153c980efc7a1bf6994300ca2a5edc7">More...</a><br /></td></tr>
<tr class="separator:af153c980efc7a1bf6994300ca2a5edc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61aa80bb58f6a42aa52b7360758ba431"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_xen_i_o.html#a61aa80bb58f6a42aa52b7360758ba431">delFile</a> (std::string fileName)</td></tr>
<tr class="memdesc:a61aa80bb58f6a42aa52b7360758ba431"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes a file from the filesystem.  <a href="#a61aa80bb58f6a42aa52b7360758ba431">More...</a><br /></td></tr>
<tr class="separator:a61aa80bb58f6a42aa52b7360758ba431"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class handling all input/output operations of XenC. </p>
<p>This class handles file reading/writing (plain text or compressed), corpus cleaning, phrases and phrase-tables writing, similarity dumping... </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a19e9b18d89fa44de07082e50899e9c42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::cleanCorpusBi </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorpSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorpTarget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrScore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bilingual corpus cleaning (ensures no empty lines) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrCorpSource</td><td>: the source language <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to clean </td></tr>
    <tr><td class="paramname">ptrCorpTarget</td><td>: the target language <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to clean </td></tr>
    <tr><td class="paramname">ptrScore</td><td>: the associated <a class="el" href="class_score.html" title="Class holding the XenC scores representation. ">Score</a> object to clean </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a19e9b18d89fa44de07082e50899e9c42_icgraph.png" border="0" usemap="#class_xen_i_o_a19e9b18d89fa44de07082e50899e9c42_icgraph" alt=""/></div>
<map name="class_xen_i_o_a19e9b18d89fa44de07082e50899e9c42_icgraph" id="class_xen_i_o_a19e9b18d89fa44de07082e50899e9c42_icgraph">
<area shape="rect" id="node2" href="class_bi_x_entropy.html#a55ad423050eae54a09ce73ca24598ca4" title="Function in charge of launching the filtering mode. " alt="" coords="217,5,352,31"/>
<area shape="rect" id="node3" href="class_mono_x_entropy.html#ab82ba430051ad6ca073f9f4f74dc25ae" title="Function in charge of launching the filtering mode. " alt="" coords="207,55,363,80"/>
<area shape="rect" id="node4" href="class_simple_p_p_l.html#a0cbcec72a693b6bf700c3d1802026be1" title="Function in charge of launching the filtering mode. " alt="" coords="218,104,352,129"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab9a2f3c55823d6f5bf73e291fb51030d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::cleanCorpusMono </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrScore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Monolingual corpus cleaning (ensures no empty lines) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrCorp</td><td>: the <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to clean </td></tr>
    <tr><td class="paramname">ptrScore</td><td>: the associated <a class="el" href="class_score.html" title="Class holding the XenC scores representation. ">Score</a> object to clean </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ab9a2f3c55823d6f5bf73e291fb51030d_icgraph.png" border="0" usemap="#class_xen_i_o_ab9a2f3c55823d6f5bf73e291fb51030d_icgraph" alt=""/></div>
<map name="class_xen_i_o_ab9a2f3c55823d6f5bf73e291fb51030d_icgraph" id="class_xen_i_o_ab9a2f3c55823d6f5bf73e291fb51030d_icgraph">
<area shape="rect" id="node2" href="class_mono_x_entropy.html#ab82ba430051ad6ca073f9f4f74dc25ae" title="Function in charge of launching the filtering mode. " alt="" coords="228,5,384,31"/>
<area shape="rect" id="node3" href="class_simple_p_p_l.html#a0cbcec72a693b6bf700c3d1802026be1" title="Function in charge of launching the filtering mode. " alt="" coords="239,55,373,80"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a61aa80bb58f6a42aa52b7360758ba431"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::delFile </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deletes a file from the filesystem. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>: file to delete </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a61aa80bb58f6a42aa52b7360758ba431_icgraph.png" border="0" usemap="#class_xen_i_o_a61aa80bb58f6a42aa52b7360758ba431_icgraph" alt=""/></div>
<map name="class_xen_i_o_a61aa80bb58f6a42aa52b7360758ba431_icgraph" id="class_xen_i_o_a61aa80bb58f6a42aa52b7360758ba431_icgraph">
<area shape="rect" id="node2" href="eval_8cpp.html#a08bdd00a4373b59f0e8040c9b62e66ec" title="Thread&#45;safe evaluation function. " alt="" coords="159,5,231,31"/>
<area shape="rect" id="node3" href="class_eval.html#a0c3f6f4605b2763e8e18a12b54779baf" title="Computes an evaluation bount by the high and low integers (in percentage) " alt="" coords="279,31,374,56"/>
<area shape="rect" id="node4" href="class_eval.html#a9f7cf5cbc48c414a0cef2a8ccb27ad56" title="Computes the best theoretical point based on current evaluation. " alt="" coords="422,31,510,56"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afc50164bd165fde754196a1490cfd238"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::dumpSimilarity </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_similarity.html">Similarity</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrSim</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Dumps the <a class="el" href="class_similarity.html" title="Class taking care of all the similarity measure computations. ">Similarity</a> measures of a <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrCorp</td><td>: the <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> from which the <a class="el" href="class_similarity.html" title="Class taking care of all the similarity measure computations. ">Similarity</a> measures are dumped </td></tr>
    <tr><td class="paramname">ptrSim</td><td>: the <a class="el" href="class_similarity.html" title="Class taking care of all the similarity measure computations. ">Similarity</a> measures to dump </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_afc50164bd165fde754196a1490cfd238_icgraph.png" border="0" usemap="#class_xen_i_o_afc50164bd165fde754196a1490cfd238_icgraph" alt=""/></div>
<map name="class_xen_i_o_afc50164bd165fde754196a1490cfd238_icgraph" id="class_xen_i_o_afc50164bd165fde754196a1490cfd238_icgraph">
<area shape="rect" id="node2" href="class_mono_x_entropy.html#ab82ba430051ad6ca073f9f4f74dc25ae" title="Function in charge of launching the filtering mode. " alt="" coords="207,5,364,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad087c0895d023a9ff0c0a1f794854b5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; XenIO::read </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrFile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads a file (plain text/gzipped) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrFile</td><td>: the file to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a vector of strings containing the read file's lines </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_cgraph.png" border="0" usemap="#class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_cgraph" alt=""/></div>
<map name="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_cgraph" id="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_cgraph">
<area shape="rect" id="node2" href="struct_xen_common_1_1_xen_c_eption.html#a32ca1dc358f84de4e63d73c72e318c42" title="Accessor to the exception message. " alt="" coords="147,5,324,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_icgraph.png" border="0" usemap="#class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_icgraph" alt=""/></div>
<map name="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_icgraph" id="class_xen_i_o_ad087c0895d023a9ff0c0a1f794854b5d_icgraph">
<area shape="rect" id="node2" href="class_corpus.html#ac6b8e43e77d7d348fe76a840cbcc57a9" title="Put the printing status of a line to false. " alt="" coords="160,5,302,31"/>
<area shape="rect" id="node3" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="157,55,305,80"/>
<area shape="rect" id="node4" href="class_wfile.html#a481ea084ad9b6b89fb5777ec7221494e" title="Accessor to the size of the weights file. " alt="" coords="180,104,282,129"/>
<area shape="rect" id="node5" href="class_xen_result.html#ac9468fc213c23dffdfeba1f9d0c4d314" title="Initialization function from an already instantiated XenFile. " alt="" coords="162,153,300,179"/>
<area shape="rect" id="node6" href="class_xen_vocab.html#a11690619c4c7b03e143a07952ab32db7" title="Accessor to the XenC vocabulary object. " alt="" coords="147,203,315,228"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af153c980efc7a1bf6994300ca2a5edc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="eval_8h.html#a2c850c27efca97b26b551ccdc42fd7b2">EvalMap</a> &gt; XenIO::readDist </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>distFile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads a evaluation/best point distribution file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">distFile</td><td>: file to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an EvalMap containing the already computed scores </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_cgraph.png" border="0" usemap="#class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_cgraph" alt=""/></div>
<map name="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_cgraph" id="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_cgraph">
<area shape="rect" id="node2" href="namespace_xen_common.html#a3fd9978be1bd41808ac4605c2e89d816" title="Template converting a value (generally a string) into an integer. " alt="" coords="183,5,316,31"/>
<area shape="rect" id="node3" href="namespace_xen_common.html#aadf35ed2e4ebb9b556cda62563888113" title="Template converting a value (generally a string) into an double. " alt="" coords="170,55,329,80"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_icgraph.png" border="0" usemap="#class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_icgraph" alt=""/></div>
<map name="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_icgraph" id="class_xen_i_o_af153c980efc7a1bf6994300ca2a5edc7_icgraph">
<area shape="rect" id="node2" href="class_eval.html#ae880ef126254582bacc64f2902789d7b" title="Constructor from a string. " alt="" coords="170,5,250,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad3264b7bde95ba72494ab9db3804ad11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeBiOutput </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorpSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorpTarget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrScore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes bilingual scored/sorted result files. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrCorpSource</td><td>: the source language <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to write </td></tr>
    <tr><td class="paramname">ptrCorpTarget</td><td>: the target language <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to write </td></tr>
    <tr><td class="paramname">ptrScore</td><td>: the associated <a class="el" href="class_score.html" title="Class holding the XenC scores representation. ">Score</a> object to write </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_cgraph.png" border="0" usemap="#class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_cgraph" alt=""/></div>
<map name="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_cgraph" id="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a97ad096aee729b4d8ae993b1381d4eec" title="Accessor to the instance of the singleton XenOption object. " alt="" coords="203,5,364,31"/>
<area shape="rect" id="node3" href="class_xen_option.html#a6b020f1c16f0e0699a5ea7e06a0f593d" title="Accessor to the output name for the filtered files. " alt="" coords="200,55,367,80"/>
<area shape="rect" id="node4" href="class_xen_option.html#acf6b028eb04afc2c9a6fe9a16ea6af3a" title="Accessor to whether we output the scored file. " alt="" coords="203,104,365,129"/>
<area shape="rect" id="node5" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="207,153,360,179"/>
<area shape="rect" id="node6" href="class_xen_option.html#a1b9f650f28eee13014332ac9ac6dd0ec" title="Accessor to the reversed filtered output state. " alt="" coords="217,203,351,228"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_icgraph.png" border="0" usemap="#class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_icgraph" alt=""/></div>
<map name="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_icgraph" id="class_xen_i_o_ad3264b7bde95ba72494ab9db3804ad11_icgraph">
<area shape="rect" id="node2" href="class_bi_x_entropy.html#a55ad423050eae54a09ce73ca24598ca4" title="Function in charge of launching the filtering mode. " alt="" coords="211,5,345,31"/>
<area shape="rect" id="node3" href="class_mono_x_entropy.html#ab82ba430051ad6ca073f9f4f74dc25ae" title="Function in charge of launching the filtering mode. " alt="" coords="200,55,356,80"/>
<area shape="rect" id="node4" href="class_simple_p_p_l.html#a0cbcec72a693b6bf700c3d1802026be1" title="Function in charge of launching the filtering mode. " alt="" coords="211,104,345,129"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a507884a2eeb21b0fd3a7816ac2187beb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeEval </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="eval_8h.html#a2c850c27efca97b26b551ccdc42fd7b2">EvalMap</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrEvalMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>distName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes an evaluation/best point distribution file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrEvalMap</td><td>: the EvalMap containing the scores to write </td></tr>
    <tr><td class="paramname">distName</td><td>: the distribution file name </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_cgraph.png" border="0" usemap="#class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_cgraph" alt=""/></div>
<map name="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_cgraph" id="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_cgraph">
<area shape="rect" id="node2" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="178,5,330,31"/>
<area shape="rect" id="node3" href="namespace_xen_common.html#a3b2d08955355a35d07efd74c466b91d1" title="Template converting a value into a string with no precision. " alt="" coords="174,55,334,80"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_icgraph.png" border="0" usemap="#class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_icgraph" alt=""/></div>
<map name="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_icgraph" id="class_xen_i_o_a507884a2eeb21b0fd3a7816ac2187beb_icgraph">
<area shape="rect" id="node2" href="_xen_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="Main function of XenC. " alt="" coords="174,5,224,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac4fbd0582c974bb4c11c225ef467f26a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeMonoOutput </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_corpus.html">Corpus</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrCorp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrScore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes monolingual scored/sorted result files. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrCorp</td><td>: the <a class="el" href="class_corpus.html" title="Corpus-related functionalities. ">Corpus</a> to write </td></tr>
    <tr><td class="paramname">ptrScore</td><td>: the associated <a class="el" href="class_score.html" title="Class holding the XenC scores representation. ">Score</a> object to write </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_cgraph.png" border="0" usemap="#class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_cgraph" alt=""/></div>
<map name="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_cgraph" id="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a97ad096aee729b4d8ae993b1381d4eec" title="Accessor to the instance of the singleton XenOption object. " alt="" coords="225,5,385,31"/>
<area shape="rect" id="node3" href="class_xen_option.html#a6b020f1c16f0e0699a5ea7e06a0f593d" title="Accessor to the output name for the filtered files. " alt="" coords="221,55,389,80"/>
<area shape="rect" id="node4" href="class_xen_option.html#acf6b028eb04afc2c9a6fe9a16ea6af3a" title="Accessor to whether we output the scored file. " alt="" coords="224,104,386,129"/>
<area shape="rect" id="node5" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="229,153,381,179"/>
<area shape="rect" id="node6" href="class_xen_option.html#a1b9f650f28eee13014332ac9ac6dd0ec" title="Accessor to the reversed filtered output state. " alt="" coords="238,203,372,228"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_icgraph.png" border="0" usemap="#class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_icgraph" alt=""/></div>
<map name="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_icgraph" id="class_xen_i_o_ac4fbd0582c974bb4c11c225ef467f26a_icgraph">
<area shape="rect" id="node2" href="class_mono_x_entropy.html#ab82ba430051ad6ca073f9f4f74dc25ae" title="Function in charge of launching the filtering mode. " alt="" coords="221,5,378,31"/>
<area shape="rect" id="node3" href="class_simple_p_p_l.html#a0cbcec72a693b6bf700c3d1802026be1" title="Function in charge of launching the filtering mode. " alt="" coords="233,55,367,80"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6c32040f72b5d39ead7b08874beb65a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeNewPT </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrPT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_score.html">Score</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrScore</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a new rescored phrase-table. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrPT</td><td>: the new phrase-table to write </td></tr>
    <tr><td class="paramname">ptrScore</td><td>: the associated <a class="el" href="class_score.html" title="Class holding the XenC scores representation. ">Score</a> object to write </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_cgraph.png" border="0" usemap="#class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_cgraph" alt=""/></div>
<map name="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_cgraph" id="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a97ad096aee729b4d8ae993b1381d4eec" title="Accessor to the instance of the singleton XenOption object. " alt="" coords="207,5,368,31"/>
<area shape="rect" id="node3" href="class_xen_option.html#a0fa3ea5f0f0cfed980710a9cf73917d9" title="Accessor to the local score for phrase&#45;table scoring execution state. " alt="" coords="216,55,358,80"/>
<area shape="rect" id="node4" href="class_source_phrase.html#aac3e475efcc4c258024a8aee5dc45f6d" title="Accessor to the vector of cross&#45;entropy scores for the target phrases. " alt="" coords="192,104,383,129"/>
<area shape="rect" id="node5" href="class_score.html#ab8c94c90380d2e17d16d311d298f997c" title="Adds a score to the vector of doubles. " alt="" coords="227,153,348,179"/>
<area shape="rect" id="node6" href="class_xen_option.html#a6b020f1c16f0e0699a5ea7e06a0f593d" title="Accessor to the output name for the filtered files. " alt="" coords="204,203,371,228"/>
<area shape="rect" id="node7" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="211,252,364,277"/>
<area shape="rect" id="node8" href="class_score.html#a6933beacc22a83a62181fea9c04a76e3" title="Accessor to the nth score. " alt="" coords="229,301,346,327"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_icgraph.png" border="0" usemap="#class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_icgraph" alt=""/></div>
<map name="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_icgraph" id="class_xen_i_o_a6c32040f72b5d39ead7b08874beb65a3_icgraph">
<area shape="rect" id="node2" href="class_p_t_scoring.html#a51b8eadcb3b7fa0264c09b3a0908f2c0" title="Function in charge of launching the filtering mode. " alt="" coords="192,5,322,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="addbb2a484ad95b288569048af23bd70e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string XenIO::writeSourcePhrases </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrPT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a phrase-table's source phrases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrPT</td><td>: the phrase-table to write the source phrases from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the written source phrases file name </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_addbb2a484ad95b288569048af23bd70e_icgraph.png" border="0" usemap="#class_xen_i_o_addbb2a484ad95b288569048af23bd70e_icgraph" alt=""/></div>
<map name="class_xen_i_o_addbb2a484ad95b288569048af23bd70e_icgraph" id="class_xen_i_o_addbb2a484ad95b288569048af23bd70e_icgraph">
<area shape="rect" id="node2" href="class_p_t_scoring.html#a51b8eadcb3b7fa0264c09b3a0908f2c0" title="Function in charge of launching the filtering mode. " alt="" coords="239,5,369,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8c440586a535369a714351601f253477"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string XenIO::writeTargetPhrases </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_phrase_table.html">PhraseTable</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrPT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a phrase-table's target phrases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrPT</td><td>: the phrase-table to write the target phrases from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the written target phrases file name </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_a8c440586a535369a714351601f253477_icgraph.png" border="0" usemap="#class_xen_i_o_a8c440586a535369a714351601f253477_icgraph" alt=""/></div>
<map name="class_xen_i_o_a8c440586a535369a714351601f253477_icgraph" id="class_xen_i_o_a8c440586a535369a714351601f253477_icgraph">
<area shape="rect" id="node2" href="class_p_t_scoring.html#a51b8eadcb3b7fa0264c09b3a0908f2c0" title="Function in charge of launching the filtering mode. " alt="" coords="234,5,364,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac7f7d85d888d510c21ddf217840e20ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeVocab </td>
          <td>(</td>
          <td class="paramtype">std::map&lt; std::string, int &gt;&#160;</td>
          <td class="paramname"><em>voc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a vocab to file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrEvalMap</td><td>: the map containing the vocab to write </td></tr>
    <tr><td class="paramname">distName</td><td>: the vocab file name </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_ac7f7d85d888d510c21ddf217840e20ba_icgraph.png" border="0" usemap="#class_xen_i_o_ac7f7d85d888d510c21ddf217840e20ba_icgraph" alt=""/></div>
<map name="class_xen_i_o_ac7f7d85d888d510c21ddf217840e20ba_icgraph" id="class_xen_i_o_ac7f7d85d888d510c21ddf217840e20ba_icgraph">
<area shape="rect" id="node2" href="class_xen_vocab.html#a11690619c4c7b03e143a07952ab32db7" title="Accessor to the XenC vocabulary object. " alt="" coords="185,5,354,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aeb32c268deb43ffb242f30726ff4105b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XenIO::writeXRpart </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_xen_result.html">XenResult</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrXR</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fileName</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a part of the text of a <a class="el" href="class_xen_result.html" title="Class handling a XenC sorted result file for evaluation/best point. ">XenResult</a> given a percentage. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrXR</td><td>: the <a class="el" href="class_xen_result.html" title="Class handling a XenC sorted result file for evaluation/best point. ">XenResult</a> file to extract the part from </td></tr>
    <tr><td class="paramname">pc</td><td>: the percentage to extract </td></tr>
    <tr><td class="paramname">fileName</td><td>: the file name for the extraction (optional) </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_cgraph.png" border="0" usemap="#class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_cgraph" alt=""/></div>
<map name="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_cgraph" id="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_cgraph">
<area shape="rect" id="node2" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="190,5,342,31"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_icgraph.png" border="0" usemap="#class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_icgraph" alt=""/></div>
<map name="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_icgraph" id="class_xen_i_o_aeb32c268deb43ffb242f30726ff4105b_icgraph">
<area shape="rect" id="node2" href="class_eval.html#a0c3f6f4605b2763e8e18a12b54779baf" title="Computes an evaluation bount by the high and low integers (in percentage) " alt="" coords="190,5,285,31"/>
<area shape="rect" id="node4" href="_xen_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="Main function of XenC. " alt="" coords="212,55,262,80"/>
<area shape="rect" id="node3" href="class_eval.html#a9f7cf5cbc48c414a0cef2a8ccb27ad56" title="Computes the best theoretical point based on current evaluation. " alt="" coords="333,5,420,31"/>
</map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/utils/<a class="el" href="xenio_8h_source.html">xenio.h</a></li>
<li>src/utils/<a class="el" href="xenio_8cpp.html">xenio.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 18 2016 17:22:37 for XenC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
